<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>相对定位和绝对定位的结合</title>
		<style>
			#content{
				height: 500px;
				width: 800px;
				background: aqua;
				position: relative;
			}
			#content #adv{
				width: 100px;
				overflow: hidden;
				border: 2px solid red;
				position: absolute;
				right: 0;
				bottom: 0;
			}
		</style>
	</head>
	<body>
		<div id="content">
			
			<div id="adv">
				<img src="../images/icon.png" height="90px" width="100px"/>
			</div>
		</div>
	</body>
</html>